Skip to content

Unify CopyButton + auto-confirm email when SMTP not configured#13

Closed
PawiX25 wants to merge 8 commits into
aginrocks:masterfrom
PawiX25:master
Closed

Unify CopyButton + auto-confirm email when SMTP not configured#13
PawiX25 wants to merge 8 commits into
aginrocks:masterfrom
PawiX25:master

Conversation

@PawiX25

@PawiX25 PawiX25 commented Apr 7, 2026

Copy link
Copy Markdown
Contributor

Changes

CopyButton unification

  • Created shared components/copy-button.tsx using useClipboard from @mantine/hooks
  • Removed duplicate PGP-specific copy-button.tsx
  • Re-export from dashboard helpers.tsx for backwards compatibility
  • Added optional compact prop for smaller variant (used in both PGP and dashboard)
  • Removed "Verifying…" text from TOTP dialog to prevent layout shift

confirm_email: auto-confirm when SMTP not configured

  • When mail service is not configured, registration now auto-confirms the email instead of just skipping the confirmation email
  • This prevents users from getting stuck in an unconfirmed state when SMTP is not set up

PawiX25 added 8 commits April 7, 2026 00:42
- add the dashboard sessions screen and shared dashboard navigation
- add backend session listing and revoke endpoints with public session IDs
- persist and validate session state through Redis-backed tracking
- keep profile, sessions, and security factor UI in sync after successful actions
- preserve modal contents until close animations finish across password, TOTP, passkey, PGP, and recovery codes flows
- relax authenticated dashboard rate limiting and improve dashboard error messaging
- Extract SessionsSkeleton and update DashboardSkeleton (3 sections)
- Replace useState clipboard pattern with useClipboard from @mantine/hooks
- Split pgp.tsx into step components (challenge, quick-sign, signature)
- Move parseUserAgent and timeAgo to lib/utils.ts
- Move extract_client_ip to auth-core crate
- Create components/copy-button.tsx with useClipboard from @mantine/hooks
- Remove duplicate PGP-specific copy-button.tsx
- Re-export from dashboard helpers.tsx
- Add compact prop for smaller variant (used in both PGP and dashboard)
- Remove 'Verifying...' text from TOTP dialog to prevent layout shift
- confirm_email changes included
@PawiX25 PawiX25 closed this Apr 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant